You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > clVector Structure > clVector Methods > Rotate Method > clVector.Rotate Method ([In] TOpenCLMtxVec, int, int, int, int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
clVector.Rotate Method ([In] TOpenCLMtxVec, int, int, int, int)

A cyclic shift on vector elements in range.

Syntax
C#
Visual Basic
public TOpenCLMtxVec Rotate([In] TOpenCLMtxVec Vec, int Offset, int VecIndex, int Index, int Len);

Performs cyclic shift on source vector elements in specified range [Index..Index+Len] and stores them to calling vector. The number of elements to shift is specified in the Offset parameter. Offset can be any integer number, positive or negative.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!